import Vue from 'vue';
import VueRouter from 'vue-router';
import Hello from '@/components/Hello.vue';
import Message from '@/components/message/message.vue';
import Home from '@/components/home/home.vue';
import Login from '@/components/login/login.vue';
import Address from '@/components/address/address.vue';
import Index from '@/components/index/index.vue';
import Item from '@/components/item/item.vue';
import Score from '@/components/score/score.vue';

Vue.use(VueRouter);

const router = new VueRouter({
	routes: [{
		path: '/',
		name: 'Hello',
		component: Hello
	}, {
		path: '/Message',
		name: 'Message',
		component: Message
	}, {
		path: '/Home',
		name: 'Home',
		component: Home
	}, {
		path: '/Login',
		name: 'Login',
		component: Login
	}, {
		path: '/Address',
		name: 'Address',
		component: Address
	}, {
		path: '/Index',
		name: 'Index',
		component: Index
	}, {
		path: '/Item',
		name: 'Item',
		component: Item
	}, {
		path: '/Score',
		name: 'Score',
		component: Score
	}],
	linkActiveClass: 'active'
});

export default router;